package com.k2data.k2app.mapper;

import com.k2data.k2app.domain.SysAmq;
import com.k2data.k2app.domain.SysMail;
import com.k2data.k2app.mybatis.mapper.K2Mapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;


@Mapper
@Repository
public interface SysAmqMapper extends K2Mapper<SysAmq> {

    SysAmq get (Long id);

    int deleteById (Long id);

    int updateByPrimaryKeySelective (SysAmq record);

    int updateByPrimaryKey (SysAmq record);

    List<SysAmq> selectUseful ();

}